fix(execution): preserve ResultAggregator falsy defaults (#611) - #669
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
WalkthroughThis PR updates ChangesFalsy Value Handling in ResultAggregator
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Tools execution failed with the following error: Failed to run tools: 14 UNAVAILABLE: read ECONNRESET Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📊 Coverage ReportCoverage report not available
Generated by PR Automation (Story 6.1) |
78abc23 to
053730b
Compare
Summary
Clean replacement for stale PR #611.
waveIndex: 0,duration: 0, empty string output/agent IDs,maxHistory: 0).filesModifiedsafe by accepting arrays only and falling back to output parsing for invalid non-array values.wave-results-0.jsonand zero metrics render as0, not alternate values orN/A.@aiox-squads/coreto5.1.9and regenerates the install manifest/entity registry.Validation
node -c .aiox-core/core/execution/result-aggregator.jsnpm test -- tests/core/result-aggregator.test.js --runInBandnpm test -- tests/core/result-aggregator.test.js tests/core/wave-executor.test.js tests/core/build-state-manager.test.js --runInBand --forceExitnpm run validate:manifestnpm run validate:publishnpm run lint -- --quietnpm run typecheckgit diff --checknpm run test:ci-> 315 suites passed / 7,846 tests passed / 149 skippedNotes
The old PR branch had stale CI/manifest failures and CodeRabbit feedback about mechanically preserving non-array task lists. This replacement keeps the fix scoped to ResultAggregator and adds explicit array normalization where needed.
Summary by CodeRabbit
Bug Fixes
Tests